<include file="Public:customer_header" title="客户查询结果" />
  <div class="module_public_main">
     <table id="data">
     <tr>
         <td align="center">编号</td>
         <td align="center">客户姓名</td>
         <td align="center">手机号码</td>
         <td align="center">客户热度</td>
         <td align="center">客户种类</td>
         <td align="center">客户阶段</td>
         <td align="center">客户状态</td>
         <td align="center">操作</td>
       </tr>
       <volist name="c_info" id="v" key="k">
       <tr  class="tr_info">
         <td align="center"><{$k}></td>
         <td align="center"><{$v.c_name}></td>
         <td align="center"><{$v.c_phone}></td>
         <if condition="$v.c_hots eq '1'">
         <td align="center">低热</td>
         <elseif condition="$v.c_hots eq '2'" />
         <td align="center">中热</td>
         <else />
         <td align="center">高热</td>
         </if>
         
         <if condition="$v.c_type eq '1'">
         <td align="center">潜在客户</td>
         <elseif condition="$v.c_type eq '2'" />
         <td align="center">普通客户</td>
         <elseif condition="$v.c_type eq '3'" />
         <td align="center">VIP客户</td>
         <elseif condition="$v.c_type eq '4'" />
         <td align="center">合作伙伴</td>
         <else />
         <td align="center">失效客户</td>
         </if>
              
         <if condition="$v.c_phase eq '1'">
         <td align="center">售前跟踪</td>
         <elseif condition="$v.c_phase eq '2'" />
         <td align="center">合同执行</td>
         <elseif condition="$v.c_phase eq '3'" />
         <td align="center">售后服务</td>
         <else />
         <td align="center">合同期满</td>
         </if>

         <if condition="$v.c_status eq '1'">
         <td align="center">已沟通</td>
         <elseif condition="$v.c_status eq '2'" />
         <td align="center">已报价</td>
         <elseif condition="$v.c_status eq '3'" />
         <td align="center">已做方案</td>
         <elseif condition="$v.c_status eq '4'" />
         <td align="center">已签合同</td>
         <else />
         <td align="center">已成交</td>
         </if>
         <td align="center">
           <a href="__URL__/look_customerInfo/c_id/<{$v.c_id}>">查看/更新客户资料</a> | 
           <a href="__URL__/del_customer/c_id/<{$v.c_id}>">删除客户</a>
         </td>
       </tr>
       </volist>
       <tr>
        <td colspan="8" align="right" id="data2" style="padding:10px 0;"><{$fpage}></td>
       </tr>
       <tr>
         <td align="right" colspan="8"><input type="button" onclick="history.go(-1);" value="返回客户列表" class="_button" style="width:150px;"/></td>
       </tr>  
     </table>
    
  </div>
<include file="Public:customer_footer" />